#ifndef TYPE_H_
#define TYPE_H_
typedef int I32;
typedef unsigned int U32;
typedef short I16;
typedef unsigned short U16;
typedef char I8;
typedef unsigned char U8;
typedef int8_t S8;

#define CELL_NUM            12
#define PA_NUM              12
#define LTE_CELL_NUM        7
#define GSM_CELL_NUM        2
#define LTE_CELL_START      0
#define LTE_CELL_END        6
#define GSM_CELL_START      7
#define GSM_CELL_END        8
#define WCDMA_CELL_START    10
#define WCDMA_CELL_END      11

#define DEV_INFO_NUM_LEN	16
#define IF_APP_CONNECT_REFUSED  -3
#define IF_APP_PARSE_ERROR      -2
#define IF_APP_ERROR            -1
#define IF_APP_OK               0
#define IF_APP_INFO_CHNG        1

#define IF_APP_AUTH_H_CHNG      2
#define IF_APP_MNG_H_CHNG       3
#define IF_APP_DATA_H_CHNG      4

#define IF_APP_LTE1_CHNG        5
#define IF_APP_LTE2_CHNG        6
#define IF_APP_LTE3_CHNG        7
#define IF_APP_LTE4_CHNG        8
#define IF_APP_LTE5_CHNG        9
#define IF_APP_LTE6_CHNG        10
#define IF_APP_LTE7_CHNG        11


#define IF_APP_SYS_ONLY         15

#define IF_APP_REBOOT           16
#define IF_APP_SMS_SND          17
#define IF_APP_TIME_SYNC        18
#define IF_APP_WIFI_SWITCH      19
#define IF_APP_SMS_SWITCH       20
#define IF_APP_UPDATA_SWITCH    21
#define IF_APP_SNIFFER_SWITCH   22
#define IF_APP_PA_SWITCH        23
#define IF_APP_SLEEP            24
#define IF_APP_WAKEUP           25
#define IF_APP_RUNTIME_SWITCH   26
#define IF_APP_PA_GAIN          27
#define IF_APP_LTE_SNIF_PAR	    28

#define IF_APP_DATA_CONTINUE    29
#define IF_APP_DATA_END         30
#define IF_APP_REP_STATUS       31
#define IF_APP_REP_SYSINFO      32
#define IF_APP_SNF_RSLT         33

#define IF_APP_CAP_INTERVAL	    34
#define IF_APP_STORAGE_SAVETIME	35
#define IF_APP_SOFTWARE_UPDATE 	36
#define IF_APP_DATA_CYCLE       37
#define IF_APP_CHG_ALL_CELL     38

#define IF_APP_CFG_WIRELESS     39
#define IF_APP_BBU_STATE        40

#define IF_APP_UPDATA_TAC_CYCLE 41

#define IF_APP_REPEAT_DATAUP    42
#define IF_APP_UPDATA_CELL      43


#define IF_APP_SRV_CHANGE       44
#define IF_APP_FACTORY_DEAULT   45
#define IF_APP_MANUAL_SNIFER    46
#define IF_APP_SAVE_TIME        47
#define IF_APP_SAVE_UPLOAD_NUM  48
#define IF_APP_SNIF_PAR	        49
#define IF_APP_LTE_WIFI_SWITCH  50
#define IF_APP_LTE_CAP_INTERVAL     51
#define IF_APP_LTE_SNIFFER_SWITCH	52
#define IF_APP_LTE_PA_ON           53
#define IF_APP_LTE_PA_OFF           54
#define IF_APP_LTE_PA_GAIN           55
  
#define IF_APP_GSM1_CHNG        56
#define IF_APP_GSM2_CHNG        57
#define IF_APP_CHNG_GSM         58

#define IF_APP_PA_ON            59
#define IF_APP_PA_OFF           60

#define IF_APP_MANUAL_REBOOT_BBU 61
#define IF_APP_SMS_MAIN_SWITCH  62
#define IF_APP_CLEAN_DATA       63
#define IF_APP_SMS_KEY          64
#define IF_APP_ADD_WHITELIST    65
#define IF_APP_DEL_WHITELIST    66

#define IF_APP_SET_BLACKLIST_ON 67
#define IF_APP_SET_BLACKLIST_OFF 68
#define IF_APP_WELCOME_MSG      70
#define IF_APP_REG_SUCCESS      71
#define IF_APP_REG_FAILURE		72
#define IF_APP_SR_BBU_STATE     80 
#define IF_APP_SR_GPSINFO       81
#define IF_APP_SR_CURRENT_FREQ  82
#define IF_APP_EUTRAN_BBU_INFO  83
#define IF_APP_SR_DEV_VERSION   84
#define IF_APP_BBU_SYNC_STATE   85
#define IF_APP_SR_EUTRAN_VERSION 86
#define IF_APP_GSM_MANUAL_SNIFER 87

#define IF_APP_DELAY_REPORT     103
#define IF_APP_UE_REDIRECT_ON   104
#define IF_APP_UE_REDIRECT_OFF  105
#define IF_APP_UE_FILTER_ON     108
#define IF_APP_UE_FILTER_OFF    109
#define IF_APP_GPS_DELAY       110


#define IF_APP_DEVICE_MODE      111
#define IF_APP_WORK_PERIOD      112
#define IF_APP_DATA_EVENT       113
#define IF_APP_MAC_EVENT        114
#define IF_APP_CDMA_CAP_INTVL   115
#define IF_APP_WCDMA_CAP_INTVL   116
#define IF_APP_TDSCDMA_CAP_INTVL   117
#define IF_APP_WIFI_CAP_INTVL   118

#define IF_APP_CDMA_PARAM_CFG	 119
#define IF_APP_WCDMA_PARAM_CFG   120
#define IF_APP_TDSCDMA_PARAM_CFG  121
#define IF_APP_SR_BBU_CFG         122
#define IF_APP_BBU_SOFT_RESTART    123
#define IF_APP_RESTART_LTE_BBU     124
#define IF_APP_RESTART_GSM_BBU     125
#define IF_APP_RESTART_CDMA_BBU     126
#define IF_APP_RESTART_WCDMA_BBU     127
#define IF_APP_RESTART_TDSCDMA_BBU     128
#define IF_APP_SR_TOTAL_CFG        129
#define IF_APP_GSM_SNIFF 130 
#define IF_APP_SR_DEVICE_LOG    131          
#define IF_APP_FTP_INFO          132
#define IF_APP_SR_FTP_INFO       133
#define IF_APP_ADD_BLACKLIST     134
#define IF_APP_DEL_BLACKLIST     135
#define IF_APP_SR_BLACKLIST      136
#define IF_APP_BLACKLIST_CONTINUE 137
#define IF_APP_BLACKLIST_END      138
#define IF_APP_PA_POWER_ON       139
#define IF_APP_PA_POWER_OFF      140
#define IF_APP_FTP_REPORT_SWITCH  141
#define IF_APP_SR_X86_CFG         142   
#define IF_APP_SR_X86_CURRENT_TIME 143
#define IF_APP_CFG_RESTART_TIME    144
#define IF_APP_SR_RESTART_TIME     145
#define IF_APP_CFG_NTP_SERVER      146
#define IF_APP_SR_NTP_SERVER       147
#define IF_APP_SR_GSM_SNIFFER_TIME 148
#define IF_APP_SR_TIME_REPEAT      149
#define IF_APP_LTE_MANUAL_SNIFFER  150
#define IF_APP_WCDMA_MANUAL_SNIFFER  151
#define IF_APP_SR_ONE_RECORD       152
#define IF_APP_SR_50_DAY_RECORD    153
#define IF_APP_SR_TAC_CYCLE        154
#define IF_APP_SR_ONE_DAY_RECORD   155
#define IF_APP_SR_RECORD_BY_SEQ    156
#define IF_APP_SR_RECORD_END       157
#define IF_APP_REBOOT_DEVICE       158
#define IF_APP_SEND_UPGRADE_PACKET 159
#define IF_APP_SEND_PACKET_END     160
#define IF_APP_SR_BBU_VERSION      161
#define IF_APP_SR_VERSION          162
#define IF_APP_REMOTE_SSH_ON       163
#define IF_APP_REMOTE_SSH_OFF      164
#define IF_APP_CFG_ALL_BBU_CONFIG  165
#define IF_APP_SR_ALL_BBU_CONFIG   166
#define IF_APP_BBU_SCAN_ON	       167
#define IF_APP_BBU_SCAN_OFF   	   168
#define IF_APP_TDD_LOCATION_ON     170
#define IF_APP_TDD_LOCATION_OFF    171
#define IF_APP_FDD_LOCATION_ON     172
#define IF_APP_FDD_LOCATION_OFF    173
#define IF_APP_FDD_MODE            174
#define IF_APP_DEVICE_USAGE        175
#define IF_APP_SR_LOCATION_STATUS  176
#define IF_APP_GSM_SNF_SWITCH	   177
#define IF_APP_SR_HW_ID			   178
#define IF_APP_SR_SERVER_RESART_SNF   179
#define IF_APP_SR_BOARDCARD_INFO   180
#define IF_APP_UNIT_TEST

#endif
